/*
board-games:	An educational framework for board games programming.
    Copyright (C) 2008  Daniel Gutson, FuDePAN
    
    This file is part of board-games.

    board-games is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    board-games is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
*/

enum PLAYERS
{
    BOARD_EMPTY,
    BOARD_X,
    BOARD_O
};

#define BOARD_ROWS 6
#define BOARD_COLS 7

typedef enum PLAYERS C4Board[BOARD_ROWS][BOARD_COLS];

typedef unsigned int Coord;

#ifdef __cplusplus
extern "C" {
#endif

extern void init_player(enum PLAYERS player);
extern void play(const C4Board board, Coord* col);
extern unsigned int get_random_seed(void);

#ifdef __cplusplus
}
#endif
